@echo off  

setlocal enabledelayedexpansion

cd /d %~dp0


set PSCPEXE=pscp.exe
set USERNAME=%1
set HOSTLOCAL=%2
set PASSWORD=%3
set PATHNAME=%4
set LCOALPATH=%5
set FILENAME=%6


set tmp=tmp.txt
set md5file=binmd5.txt
REM md5

REM %PSCPEXE% -pw %PASSWORD%  %USERNAME%@%HOSTLOCAL%:%PATHNAME%/%md5file% %LCOALPATH%\%tmp%


%PSCPEXE% -pw %PASSWORD%  %USERNAME%@%HOSTLOCAL%:%PATHNAME%/%FILENAME% %LCOALPATH%\%FILENAME%


 